#include "CException.h"

CException::CException(INT line, const CHAR* file)
	:
	line(line),
	file(file)
{
}

CException::~CException()
{
}

char const* CException::what() const noexcept
{
	std::ostringstream oss;
	oss << "[FILE]" << file << std::endl
		<< "[LINE]" << line;
	whatBuffer = oss.str();
	return whatBuffer.c_str();
}
